import { ScrollRankingBoard } from '@jiaminghi/data-view-react';
import chartStyle from './chartStyle.module.css';
function CenterTopChart() {
    const config = {
        data: [
            {
                name: '周口',
                value: 55
            },
            {
                name: '南阳',
                value: 120
            },
            {
                name: '西峡',
                value: 78
            },
            {
                name: '驻马店',
                value: 66
            },
            {
                name: '新乡',
                value: 80
            },
            {
                name: '信阳',
                value: 45
            },
            {
                name: '漯河',
                value: 29
            },{
                name: '渭河',
                value: 45
            },
            {
                name: '淮河',
                value: 29
            }
        ],
        rowNum:8
    }
    return (
        <div className={chartStyle.chart_con}>
            <ScrollRankingBoard config={config} style={{ width: '650px', height: '400px' }} />
        </div>
    )
}
export default CenterTopChart;